package com.gec.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.system.SysUser;
import com.gec.model.vo.SysUserQueryVo;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface SysUserService extends IService<SysUser> {
    //分页查询
    public IPage<SysUser>selectPage(IPage<SysUser> page, SysUserQueryVo userQueryVo);
    //根据userName查询数据
    SysUser getUserInfoUserName(String username);
    //根据用户名称来获取用户信息
    Map<String, Object> getUserInfo(String username);
}
